package com.example.api.order;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author 86188
 */
@RequestMapping(value = "/order")
public interface OrderServiceApi {

    /**
     * 新增订单
     *
     * @param order 订单
     * @return
     */
    @RequestMapping(value = "/createOrder", method = RequestMethod.POST)
    ProductOrder createOrder(ProductOrder order);

}
